package com.easy.mapper;

import com.easy.bean.Member;
import com.easy.util.Page;
import org.apache.ibatis.annotations.MapKey;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

@Mapper
public interface MemberDao {


    int add(@Param("param") Member member);

    int del(@Param("id") Integer id);

    int edit(@Param("param") Member member);

    List<Member> all(@Param("param") Member member);

    List<String> getAllImgUrls();



    Member one(@Param("id") Integer id);

    int pageCount(@Param("param") Member member);

    List<Member> page(@Param("page") Page page, @Param("param") Member member);

    int updateCustomerToMember(@Param("customer_id") Integer customer_id);





}
